home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d19 / tagger35.arc / GETFILES.BAT next >
DOS Batch File  |  1990-03-01  |  1KB  |  46 lines

  1.  
  2. @echo off
  3. rem
  4. rem
  5. rem  TAGGER UTILITY ----------------------------------ejb
  6. rem        This can be used as a model for executing a listing
  7. rem         program which can use TAGGER to tag file names.
  8. rem         It then executes a modem program ,the previous TAGGED
  9. rem        list can then used for down-loads ....
  10. rem        example    c:>getfiles sscfiles        (stockton)
  11. rem               c:>getfiles compudat        (compudata)
  12. rem
  13. rem check if tagger is installed
  14. if "%tagin%"=="1" goto ready
  15. rem tagger was not installed ,execute this bat by tagger
  16. tagger command /c %0 %1
  17. goto exit
  18. :ready
  19. rem
  20. rem           Unarchive the bbs file list
  21. rem           check for both kinds
  22. if exist \arc\%1.zip pkunzip \arc\%1
  23. if exist \arc\%1.arc pkunpak \arc\%1
  24. rem
  25. rem           Use a listing program to page through the file list.
  26. rem
  27. if %1 == COMPUDAT  goto comp
  28. if %1 == compudat  goto comp
  29. rem is stockton ,no txt extension
  30. list %1
  31. del %1
  32. goto ldone
  33. :comp
  34. list %1.txt
  35. del %1.txt
  36. rem
  37. rem           We now have the files needed in TAGGER
  38. :ldone
  39. rem
  40. rem        Change directory to our MODEM program
  41. cd \boyan
  42. rem
  43. rem        Execute the modem program ,TAGGED Files Available
  44. boyan
  45. :exit
  46.